package validate_type

const (
	PASSWORD = "^[a-zA-Z0-9@#$%^&*()_+]{1,16}$"
	USERNAME = "^[0-9]*[a-zA-Z][a-zA-Z0-9]*$"
	PERMS    = "^[A-Z][A-Za-z][a-zA-Z_0-9]{0,18}$"               //校验规则标识
	Name     = "^[A-Z][a-z0-9]{0,19}$"                           //权限名称
	Path     = "(^(\\/[A-Za-z][A-Za-z0-9_]{0,10})*$)|(^$)"       //路由或者接口，组件路径
	Vue      = "(^(\\/[A-Za-z][A-Za-z0-9_]{0,10})+\\.vue$)|(^$)" //vue组件路径
	ReqType  = "(^GET|POST|PUT|DELETE$)|(^$)"
)

// PERMS    = "^[A-Z]([a-z0-9])+(:[A-Z]([a-z0-9])+)*$"
